package com.purchase.ml.bean.req.dealer;

import com.purchase.ml.bean.base.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author :zxm
 * @date :2021/2/26 17:38
 * @description :some description
 **/
@Data
@ApiModel(value = "查询商品model")
public class DealerProdQueryDto extends PageDto implements Serializable {

    private String productName;
    private Integer state;
    private Long categoryId;

    /**
     * 排序
     * 0：升序  1：降序
     */
    private Integer sort;
    /**
     * 排序依赖
     * order="create_at"
     */
    private String order;

    // 用于查询经销商id对应的所有产品
    List<Long> prodIds;
}
